
body {
    min-width: 700px;
    max-width: 1200px;
}

#toolbar {
    width: 100%;
    display: inline-flex;
    justify-content: space-between;

    /* For some reason with top: 0, there is a 1px thick gap at the top which I couldn't reset */
    top: -1px;
    position: sticky;
    height: 3em;

    margin-bottom: 1em;
}

#toolbar .btn {
    margin-left: 1.5em;
}

#toolbar-right-buttons {
    margin-left: auto;
    display: inherit;
    justify-content: inherit;
}

#add-btn {
    padding-left: 1em;
    padding-right: 1.5em;
}

/*
#info-banner-container {
    margin-top: 0.5em;
    margin-bottom: 0.5em;
    min-height: 5em;

    display: flex;
    align-items: center;
}
*/

table {
    width: 100%;
    border-spacing: 0;
    table-layout: fixed;
    background-color: var(--welcomePage-tileBackground);
}

#name-col {
    width: 20%;
}

#enabled-col {
    width: 8ch;
}

#enabled-thead {
    text-align: center;
    padding: 0;
}

#style-col {
    width: 17%;
}

#push-registry-col {
    width: 25ch;
}

.btn-col {
    width: 50px;
}

#no-registries-msg {
    font-weight: normal;
}

td {
    vertical-align: text-top;
    padding: 1em;
    border-bottom: 1px solid #444;
}

tr:last-child td {
    border-bottom: none;
}

thead > tr > td {
    top: 3.75em;               /* Must match the height of the #toolbar including padding */
    position: sticky;
    padding-bottom: 1em;
    color: var(--vscode-sideBarSectionHeader-foreground);
    background: var(--vscode-activityBar-background);

    font-weight: bold;
    font-size: 110%;
    /* text-align: center; */
    white-space: nowrap;

    border: none;
}

.btn-cell {
    padding: 0;
    text-align: center;
}

.btn-cell .btn, .btn-cell img {
    height: 1.2rem;
    padding: 0;
    vertical-align: top;
}

.btn-cell .toggle-btn {
    min-height: 1.2rem;
    height: 120%;
}

.namespace-disabled {
    color: #999;
}

#push-registry-header {
    text-align: center;
}
